package com.heima.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.github.pagehelper.Page;
import com.heima.pojo.SkuClass;
import com.heima.pojo.dto.SkuClassPageQueryDTO;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface SkuClassMapper extends BaseMapper<SkuClass> {
    
    Page<SkuClass> skuQuery(SkuClassPageQueryDTO dto);


    @Select("select * from tb_sku_class")
    List<SkuClass> queryAllSkuClass();

}

